<!DOCTYPE html>
<html>
<head>
    <title>Execution Context Example 6</title>
    <script type="text/javascript">
        var color = "blue";
        
        function getColor(){
            return color;
        }
        
        alert(getColor());  //"blue"


      
    </script>

</head>
<body>
  
</body>
</html>